package com.itheima.filedemo;

import java.io.File;

public class Demo04 {

    public static void main(String[] args) {
        File file = new File("C:\\Users\\Administrator\\Desktop\\新建文件夹");
        File[] files = file.listFiles();
        for (File file1 : files) {
            System.out.println(file1);
        }


    }
}
